<{include file="../Common/head.html"}>

<body>
	<table class="table">
		<tr>
			<td class="th" colspan="20">答案列表</td>
		</tr>
		<tr class="tableTop">
			<td class="tdLittle1">ID</td>
			<td>答案内容</td>
			<td>回答时间</td>
			<td>发表人</td>
			<td>操作</td>
		</tr>
		<{foreach from=$result item=v}>
		<tr>
			<td><{$v.anid}></td>
			<td><a href="<{$smarty.const.__ROOT__}>/index.php?c=show&asid=<{$v.asid}>"><{$v.content|substr:45}></a></td>
			<td><{$v.time|date_format:"%Y-%m-%d"}></td>
			<Td><a href="<{$smarty.const.__ROOT__}>/<{$smarty.const.APP_NAME}>.php?c=home&uid=<{$v.uid}>"><{$v.username}></a></Td>
			<td>
				<a href="<{$smarty.const.__APP__}>?c=answer&a=del&anid=<{$v.anid}>" class="del">删除</a>
			</td>
		</tr>
		<{/foreach}>
	</table>
	<div class="page">
		共<{count($result)}>条 &nbsp
		<!--<a href="">1</a>-->
	</div>

</body>
</html>